ManageUserPortlet = Class.extend({
	init:function() {
		this.name = "ManageUserPortlet";
	},
	
	onReloadPage: function(){
		this.displayContent();
	},
	
	run: function() {
		var obj = this;
		this.onAjax('admin', 'list-user', {}, 'GET', {
			'onSuccess': function(ret)	{
				obj.model = {};
				obj.model.users = ret;
				obj.getPortletPlaceholder().drawToCanvas(obj.render());
			}
		});
	}
}).implement(RenderInterface).implement(PortletInterface).implement(AjaxInterface);